Table of Contents

Class: Callback .\src\TW\Callbacks.py

Encapsulate a callback with support for weak references

Methods   
__call__
__cmp__
__hash__
__init__
_getObject
hasTarget
isValid
  __call__ 
__call__ (
        self,
        *args,
        *kw,
        )

Make the callback, passing in args and *kw as well

  __cmp__ 
__cmp__ ( self,  other )

  __hash__ 
__hash__ ( self )

  __init__ 
__init__ (
        self,
        object,
        methodName='callBack',
        *msgArgs,
        *msgKw,
        )

  _getObject 
_getObject ( self )

  hasTarget 
hasTarget ( self,  object )

Return true if subscription is object or has object as its target

  isValid 
isValid ( self )

Return false if subscription is no longer valid


Table of Contents

This document was automatically generated on Tue Mar 05 10:33:43 2002 by HappyDoc version WORKING